//=============================================================================
//
//   File : qtg_config.h
//   Creation date : Sab 19 mar 2011 09:31:42 CET by Antonino G.Imbesi
//
//   This file is part of the QtGLauncher distribution
//   Copyright (C) 2011 Antonino G. Imbesi <grifisx at barmes dot org>
//
//   This program is FREE software. You can redistribute it and/or
//   modify it under the terms of the GNU General Public License
//   as published by the Free Software Foundation; either version 2
//   of the License, or (at your opinion) any later version.
//
//   This program is distributed in the HOPE that it will be USEFUL,
//   but WITHOUT ANY WARRANTY; without even the implied warranty of
//   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//   See the GNU General Public License for more details.
//
//   You should have received a copy of the GNU General Public License
//   along with this program. If not, write to the Free Software Foundation,
//   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
//=============================================================================

#ifndef QTG_CONFIG_H
#define QTG_CONFIG_H

#include <QWidget>

class QString;
class QCheckBox;
class QSpinBox;
class QComboBox;
class Qwizard;
class gui_laucher;

class qtg_config : public QWidget
{
    Q_OBJECT
public:
    explicit qtg_config(QWidget *parent = 0);
    explicit qtg_config(QWidget *parent = 0,gui_laucher *origin = 0);
    void realConstructor();
    ~qtg_config();


    gui_laucher *m_pOriginWidget;
    QCheckBox *m_pCkbRecentsEnable;
    QCheckBox *m_pCkbStyle;
    QCheckBox *m_pCkbTranslucent;
    QCheckBox *m_pCkbCloseBtn;
    QComboBox *m_pComboThemes;
    QSpinBox *m_pSpinBoxHeight;
    QSpinBox *m_pSpinBoxWidth;

signals:

public slots:
    void setThemePath(const QString);
    void fillThemeSelector();
    bool deleteRecents();
    void setRecentsOff();
    void setMenuStyleOff();
    void setTranslucentWidgetOff();
    void setCloseBtnIsEnabledOff();
    void setOriginWidgetWidth(int);
    void setOriginWidgetHeight(int);
    void activateInstallwizard();

private:
    void setMyStyleSheet();
};

#endif // QTG_CONFIG_H
